package com.qianfeng.qlm.handforireader.model;

import com.android.volley.toolbox.JsonObjectRequest;

import org.json.JSONObject;

/**
 * Created by LinXiangLin on 2015/3/25.
 */
public class NewContentBean {

    private String pager_idx; // pager_idx "1",
    private String pager_pic; // pager_pic "/Public/Images/upload/qingman/page/381/43/1.jpg",
    private String pager_pic_width; // pager_pic_width "720",
    private String pager_pic_height; // pager_pic_height "1500"


    public void parseJson(JSONObject jsonObject){
        if (jsonObject != null){
            this.setPager_idx(jsonObject.optString("pager_idx"));
            this.setPager_pic(jsonObject.optString("pager_pic"));
            this.setPager_pic_width(jsonObject.optString("pager_pic_width"));
            this.setPager_pic_height(jsonObject.optString("pager_pic_height"));
        }
    }

    public String getPager_idx() {
        return pager_idx;
    }

    public void setPager_idx(String pager_idx) {
        this.pager_idx = pager_idx;
    }

    public String getPager_pic() {
        return pager_pic;
    }

    public void setPager_pic(String pager_pic) {
        this.pager_pic = pager_pic;
    }

    public String getPager_pic_width() {
        return pager_pic_width;
    }

    public void setPager_pic_width(String pager_pic_width) {
        this.pager_pic_width = pager_pic_width;
    }

    public String getPager_pic_height() {
        return pager_pic_height;
    }

    public void setPager_pic_height(String pager_pic_height) {
        this.pager_pic_height = pager_pic_height;
    }
}
